/*
 * @LastEditors: whitechiina 1293616053@qq.com
 * @LastEditTime: 2023-03-17 16:29:24
 */

import axios from './axios'

// 测试
export const billdata = (params) => axios.get('/api/bill/list', { 
    params: params 
});

// 类别
export const billtype = (params) => axios.get('/api/type/list', { 
    params: params 
});

export const register = data => axios.post('/api/user/register', data);

export const login = data => axios.post('/api/user/login', data);

